.@{theme} {
  .ant-form-item-label{
    min-width: 90px;
  }
  .ticket-tab{
    th{
      text-align: center;
    }
  }
  .ticket-wrap {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 54px;
    bottom: 10px;
    .ticket-detail {
      h3 {
        line-height: 50px;
        padding: 0 20px;
        font-weight: normal;
        background-color: @block-bg;
        .num {
          margin-left: 5px;
        }
      }

      .detail-form {
        background-color: @normal-bg-color;
        padding: 20px 16px 20px 20px;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;

        .operate {
          .ant-btn {
            margin-right: 5px;
          }
          .ticket-submit {
            margin-right: 5px;
            .ant-btn{
              margin-right: 0px;
              background-color: @primary-color;
              border-color: @primary-color;
              color: @circle-color;
            }
          }
        }

        .detail-btn {
          position: relative;
          height: 32px;
        }

        .show-record {
          position: absolute;
          right: 0;
          top: 0;
          background-color: @select-tag-bg;
          border-radius: 2px;
          display: block;
          padding: 0 10px;
          line-height: 28px;
          height: 28px;
          .iconfont {
            font-size: 12px;
          }
        }


        i.ant-calendar-picker-clear{
          display: none;
        }
        .ant-select-selection__choice {
          background: @select-tag-bg;
        }
      }
    }

    .ticket-edit {
      padding-right: 360px;
      .detail-form {
        overflow-x: hidden;
        right: 360px;
      }
    }

    .detail-activity {
      width: 360px;
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      overflow-y: auto;
      overflow-x: hidden;
      background-color: @filter-bg;
      .record {
        margin: 24px 0;
        position: absolute;
        top: 50px;
        bottom: 0;
        left: 15px;
        right: 0;
        overflow-y: auto;
        .tache-squ {
          position: absolute;
          left: 10px;
          top: 8px;
          width: 0;
          height: 0;
          border-top: 6px solid transparent;
          border-right: 10px solid @record-ticketAdvice;
          border-bottom: 6px solid transparent;
        }

        .tache {
          margin-top: -15px;
          padding-top: 15px;
          padding-left: 20px;
          margin-left:20px;
          margin-right: 15px;
          background: @record-ticketAdvice;
          //border-bottom: 1px solid @light-block-bg;
          .ant-col-12 {
            width: 60%;
          }
          .record-ticketAdvice {
            background:@record-ticketAdvice;
            width: 100%;
            overflow: auto;
            border: 0;
            margin-left: -7px;
            margin-top: 1px
          }
          .ant-form-text {
            color:@ant-form-text;
          }
          .ant-col-3 {
            width: auto;
          }
          .ant-form-item-label > label{
            color:@tache-label;
          }
          h4 {
            text-align: left;
            margin-right: 10px;
            font-size: 14px;
          }
          &:last-child {
            border-bottom: 0;
          }
        }
        .ant-steps-description {
          color:#fff;
        }
        .ant-steps-tail {
          & > i {
            background: @ant-steps-head-inner;
          }
        }
        .ant-form-item {
          margin-bottom: 0;
        }
        .ant-steps-head-inner {
          margin-right:0;
        }
        .ant-steps-head {
          background: none;
          .ant-steps-head-inner {
            background-color: @ant-steps-head-inner;
            border-color: @ant-steps-head-inner;
          }
        }
        .ant-input {
          cursor:text;
        }

      }
      .detail-title{
        height: 50px;
        background-color: @comment-bg;
        font-size: 16px;
        line-height: 50px;
        //padding-left: 18px;
      }
      .ticket-comment{
        & > li{
          border-top: 1px solid @line-color-2;
          padding: 10px 0 6px;
          &:first-child{
            border: none;
          }
        }
      }
      .top-comment-box{
        height: 60px;
        background-color: @comment-nav-bg;
        padding: 14px 16px 0 16px;
      }
      .comment-content {
        padding: 0 10px;
        position: absolute;
        top: 110px;
        bottom: 0;
        left: 0;
        right: 0;
        overflow-y: auto;
        background-color: @comment-bg;
      }
    }

    .ticket-finish{
      animation: ticketMove 0.4s;
      -moz-animation: ticketMove 0.4s; /* Firefox */
      -webkit-animation: ticketMove 0.4s;  /* Safari 和 Chrome */
      -o-animation: ticketMove 0.4s;
      top: 16px;
      right: 40%;
      width: 108px;
      height: 89px;
      background: url() center center;
    }

  }

  .finish-submit{
    .multiple-triggers{
      height: 50px;
    }
    .mention-input__input{
      border: 1px solid @input-border;
      border-radius: 2px;
      background-color: @input-bg !important;
      color: @border-color-white;
      /* height: 50px !important; */
      padding: 0 5px;
      line-height: 20px;
      overflow-y: auto !important;
      outline: none;
    }
    .mention-input__suggestions{
      background-color: @input-bg-focus !important;
      max-height: 200px;
      width: 150px;
      overflow-y: auto;
      overflow-x: hidden;
      .mention-input__suggestions__item--focused {
        background-color: @input-focus-bg;
      }
      .mention-input__suggestions__item {
        padding: 5px 15px;
      }
    }
    .user{
      color: @border-color-white;
    }
    .mention-input--multiLine,.mention-input__control{
      height: 100%;
    }
  }

  @keyframes ticketMove{
    from {transform: scale(2,2);-ms-transform: scale(2,2);-webkit-transform: scale(2,2);-o-transform: scale(2,2); -moz-transform: scale(2,2);}
    to {transform: scale(1,1);-ms-transform: scale(1,1);-webkit-transform: scale(1,1);-o-transform: scale(1,1); -moz-transform: scale(1,1);}
  }

  @-moz-keyframes ticketMove /* Firefox */{
     from {transform: scale(2,2);-ms-transform: scale(2,2);-webkit-transform: scale(2,2);-o-transform: scale(2,2); -moz-transform: scale(2,2);}
    to {transform: scale(1,1);-ms-transform: scale(1,1);-webkit-transform: scale(1,1);-o-transform: scale(1,1); -moz-transform: scale(1,1);}
  }

  @-webkit-keyframes ticketMove /* Safari 和 Chrome */{
      from {transform: scale(2,2);-ms-transform: scale(2,2);-webkit-transform: scale(2,2);-o-transform: scale(2,2); -moz-transform: scale(2,2);}
    to {transform: scale(1,1);-ms-transform: scale(1,1);-webkit-transform: scale(1,1);-o-transform: scale(1,1); -moz-transform: scale(1,1);}
  }

  @-o-keyframes ticketMove /* Opera */{
     from {transform: scale(2,2);-ms-transform: scale(2,2);-webkit-transform: scale(2,2);-o-transform: scale(2,2); -moz-transform: scale(2,2);}
    to {transform: scale(1,1);-ms-transform: scale(1,1);-webkit-transform: scale(1,1);-o-transform: scale(1,1); -moz-transform: scale(1,1);}
  }
  .process {
    right: 236px;
    width: 142px;
    height: 150px;
    position: absolute;
    padding-top: 20px;
    top: 57px;
    color: @cancel-color;
    .process-content {
      top: -140px;
      position: relative;
      left: 16%;
      border-left: 1px solid @process-border;
      padding-left: 100px;
      .process-radius {
        margin: 10px 0 -10px 0;
        position: relative;
        left: 37%;
        top: -50%;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        text-align: center;
        line-height: 70px;
      }
      .process-demo1{
         background:@progress-demo1;
         .process-i2{
           border-top-color:@progress-demo1;
         }
       }
      .process-demo2{
        background:@progress-demo2;
        .process-i2{
          border-top-color:@progress-demo2;
        }
      }
      .process-demo3{
        background:@progress-demo3;
        .process-i2{
          border-top-color:@progress-demo3;
        }
      }
      .process-demo4{
        background:@progress-demo4;
        .process-i2{
          border-top-color:@progress-demo4;
        }
      }
      .process-demo5{
        background:@progress-demo5;
        .process-i2{
          border-top-color:@progress-demo5;
        }
      }
      .process-demo {
        margin-top: 4px;
        position: relative;
        text-align: center;
        width: 80px;
        height: 30px;
        border-radius: 1px;
        line-height: 18px;
        color:#fff;
        span{
          display: inline-block;
          width:100%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
      .process-child {
        top:-16px;
        right:-80px;
        position:relative;
        .process-child-line {
          width:6px;
          height:2px;
          float:left;
          background:@cancel-color;
        }
        .process-child-radius {
          float:left;
          width:14px;
          height:14px;
          border-radius: 50%;
          background:@process-bg;
          border:3px solid @process-child;
          margin-top: -6px;
        }

        .process-child-line-dark {
          width:6px;
          height:2px;
          float:left;
          background:@progress-demo1;
        }
        .process-child-radius-dark {
          float:left;
          width:14px;
          height:14px;
          border-radius: 50%;
          border:3px solid @progress-demo1;
          margin-top: -6px;
        }
      }
      .process-i1 {
        position: relative;
        top: 0;
        left: 45%;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 4px solid @process-bg;
      }
      .process-i2 {
        position: relative;
        bottom: -4px;
        left: 45%;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 4px solid red;
      }
    }
    .process-icon {
      position: relative;
      left: 28%;
        .process-icon-content{
           margin: 0 auto;
           height: 22px;
           position: relative;
           display: block;
          .process-icon-icon{
             float:left;
             width: 12px;
             height: 12px;
             border-radius: 50%;
          }
          .process-icon-icon1{
            float:left;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background:@process-bg;
            border:3px solid @process-child;
          }
          .process-icon-span{
            float: left;
            font-size: 12px;
            margin-left: 8px;
            margin-top: -5px;
          }
        }
    }
  }
  .square-model{
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .button-model{
    margin-top: 0
  }
  .processname-model{
    width: 72px;
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: -4px;
  }
  .oneLine-square-model{
    margin: 0 9px;
  }
  .imgBox{
    width: 64px;
    height: 64px;
    text-align: center;
    border-radius: 2px;
    background: @modal-bg
  }
  .imgStyle{
    height: 48px;
    width: 48px;
    margin-top: 8px
  }
  .imgBox.ant-tooltip-open{
    //border: 1px solid @modal-hover-border;
    background: @modal-hover-bg;
  }
  .ticket-relate{
    .relate-button{
      height:23px;
      margin: 5px 0;
      .cancelButton{
        float:right;
      }
      .setButton{
        float:right;
        margin-right: 5px;
      }
    }
    .relate-new{
      height: 30px;
      padding-top: 0;
      margin-top: 3px;
      margin-bottom: 3px;
      margin-left: 10px;
    }
    .ant-select-selection-selected-value {
      overflow: hidden;
    }
  }
}

